<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id 
 * @property string $name 项
 * @property string $groups 参数分组标识
 * @property string $groups_name 参数分组名称
 * @property string $value 值
 * @property string $setting 设置
 * @property int $last_time 最后变更时间
 * @property int $last_userid 变更操作管理员ID
 * @property string $last_username 变更操作管理员用户名
 * @property int $listorder 
 */
class Setting extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'setting';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'name', 'groups', 'groups_name', 'value', 'setting', 'last_time', 'last_userid', 'last_username', 'listorder'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'last_time' => 'integer', 'last_userid' => 'integer', 'listorder' => 'integer'];
}
